﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.BLL.ViewModel;
using OFB.Domain;

namespace OFB.BLL.Repository
{
    public interface ITrainerBLL
    {
        int UpdateTrainer(TrainerViewModel trainer);
        int AddTrainer(TrainerViewModel trainer);
        int TrainerChangeStatus(string trainerId, int IsDiabled);
        TrainerViewModel Find(string trainerId);
        TrainerListViewModel FindAll(int page, bool? status = null);
        TrainerListViewModel FindByTrainerId(string trainerId, int page = 0, int findBy = 2);
        TrainerListViewModel FindByTrainerName(string trainerName, int page = 0, int findBy = 2);
        TrainerListViewModel FindByTrainerEmail(string email, int page = 0, int findBy = 2);
        TrainerListViewModel FindByTrainerPhoneNumber(string phoneNumber, int page = 0, int findBy = 2);
        TrainerListViewModel FindByTrainerWorkAt(string workAt, int page = 0, int findBy = 2);
        TrainerListViewModel FindByFindAll(string searchString, int page = 0, int findBy = 2);
    }
}
